<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:set var="map" value="${requestScope.listMap }"></c:set>
<div id="previous_best">
	<div class="previous_list">
		<h4>습작</h4>
		<c:forEach var="i" items="${map.pList }">
			<div class="practice">
				<c:choose>
					<c:when test="${sessionScope.mvo!=null }">
						<a href="gallery.do?mode=content&no=${i.no }&memberVO.uId=${sessionScope.mvo.uId}">
						<img src="/img/thumb_gal/${i.thumbImgName}"></a>
					</c:when>
					<c:otherwise>
						<a href="gallery.do?mode=content&no=${i.no }&memberVO.uId=0">
						<img src="/img/thumb_gal/${i.thumbImgName}"></a>
					</c:otherwise>
				</c:choose>
					<p>${i.count } / ${i.wow } / ${i.w_date }</p>
					<p><b>title : ${i.title }</b></p>
			</div>
		</c:forEach>
	</div>
	<div class="previous_list">
		<h4>연작</h4>
		<c:forEach var="i" items="${map.sList }">
			<div class="series">
				<c:choose>
					<c:when test="${sessionScope.mvo!=null }">
						<a href="gallery.do?mode=content&no=${i.no }&memberVO.uId=${sessionScope.mvo.uId}">
						<img src="/img/thumb_gal/${i.thumbImgName}"></a>
					</c:when>
					<c:otherwise>
						<a href="gallery.do?mode=content&no=${i.no }&memberVO.uId=0">
						<img src="/img/thumb_gal/${i.thumbImgName}"></a>
					</c:otherwise>
				</c:choose>
					<p>${i.count } / ${i.wow } / ${i.w_date }</p>
					<p><b>title : ${i.title }</b></p>
			</div>
		</c:forEach>
	</div>
	<div class="previous_list">
		<h4>작품</h4>
		<c:forEach var="i" items="${map.aList }">
			<div class="series">
				<c:choose>
					<c:when test="${sessionScope.mvo!=null }">
						<a href="gallery.do?mode=content&no=${i.no }&memberVO.uId=${sessionScope.mvo.uId}">
						<img src="/img/thumb_gal/${i.thumbImgName}"></a>
					</c:when>
					<c:otherwise>
						<a href="gallery.do?mode=content&no=${i.no }&memberVO.uId=0">
						<img src="/img/thumb_gal/${i.thumbImgName}"></a>
					</c:otherwise>
				</c:choose>
					<p>${i.count } / ${i.wow } / ${i.w_date }</p>
					<p><b>title : ${i.title }</b></p>
			</div>
		</c:forEach>
	</div>
</div>